{% extends "admin/base_site.html" %}
{% load i18n %}
{% block content %}
<div id="content-main">
<h1>Edit planning</h1>

<div class="module">
<h2>invite members</h2>
Send this url to invite members: {{ planning_url }}
</div>

<div class="module">
<h2>Settings</h2>
<form method=post>
<table>
{{form1}}
{{form}}
</table>
<input type=submit name=action value='Save'>
</form>
</div>

<div class="module">
<h2>Event types</h2>
<a href=../addtype/> add a new type</a>
<table>
<tr>{% for type in types %}<td align=center>{{type.name}}</td>{% endfor %}</tr>
<tr>{% for type in types %}<td align=center>{{type.graphic|safe}}</td>{% endfor %}</tr>
</table>
</div>

{% endblock %}
